<template>
  <div id="app">
    <div id="nav">
      <mt-header fixed :title="headerTitle" style="">
          <mt-button icon="back" slot="left" @click="$router.go(-1)"></mt-button>
      </mt-header>
    </div>
    <router-view/>
  </div>
</template>



<script>
export default {
  data(){
    return {

    }
  },
  computed:{
    headerTitle(){
      return this.$store.state.headerTitle;
    }
  }

}
</script>

<style lang="scss" scope>
.mint-header{
  background: #E54847;
}
.mint-header.is-fixed{
  height: 54px;
  z-index: 100;
  background: #E54847;
}
.nav_list{
  height: 54px;
  line-height: 54px;
  font-size: 20px;
  background: #E54847;
}

#nav a.router-link-exact-active{
  text-align: center;
  line-height: 55px;
  color:#fff;
}
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
#nav {
  text-align: center;
  div{
    display:inline-block;
  }
  width:100%;
  height:54px;
  background: #E54847;
  a {
    font-weight: bold;
    color: #fff;
    &.router-link-exact-active,&.router-link-exact-active {
      color: #42b983;
    }
  }
}
</style>
